package com.zenithmind.document.pojo.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 文档分类查询DTO
 *
 * @author ZenithMind Team
 * @since 2025-01-09
 */
@Data
@Schema(description = "文档分类查询DTO")
public class DocumentCategoryQueryDTO {

    /**
     * 页码
     */
    @Schema(description = "页码")
    private Integer current = 1;

    /**
     * 每页大小
     */
    @Schema(description = "每页大小")
    private Integer size = 10;

    /**
     * 关键词
     */
    @Schema(description = "关键词")
    private String keyword;

    /**
     * 分类名称
     */
    @Schema(description = "分类名称")
    private String name;

    /**
     * 父分类ID
     */
    @Schema(description = "父分类ID")
    private String parentId;

    /**
     * 分类层级
     */
    @Schema(description = "分类层级")
    private Integer level;

    /**
     * 状态（0:禁用, 1:启用）
     */
    @Schema(description = "状态（0:禁用, 1:启用）")
    private Integer status;

    /**
     * 创建者ID
     */
    @Schema(description = "创建者ID")
    private String creatorId;

    /**
     * 是否包含已删除
     */
    @Schema(description = "是否包含已删除")
    private Boolean includeDeleted;

    /**
     * 排序字段
     */
    @Schema(description = "排序字段")
    private String sortField;

    /**
     * 排序方向
     */
    @Schema(description = "排序方向")
    private String sortDirection;
}
